﻿using System;

namespace Sustainalytics.PregenerateScreeningReports.Service
{

    public class PSR_TTLExpired : Exception
    {
    }

    public class PSR_NoSessionFound: Exception
    {
    }

    public class PSR_NoMachineFoundInSession : Exception
    {
        public PSR_NoMachineFoundInSession(string machine, Guid sessionId)
            : base(string.Format("SessionId {0} does not refer machine {1}", sessionId.ToString(), machine))
        {
        }
    }


    public class PSR_FileNotFound : Exception
    {
        public PSR_FileNotFound(string msg): base(msg)
        {
        }
    }

    
}
